:root {
  --row-height: 36px;
}

.ant-table-thead > tr > th {
  white-space: nowrap;
}

.ant-table-tbody > tr.row-compact > td {
  height: var(--row-height);
  max-height: var(--row-height);
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Ensure ellipsis works in table cells */
.ant-table-cell {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Restore shadow for fixed columns (AntD sticky) */
.ant-table .ant-table-container .ant-table-content .ant-table-sticky-holder::before,
.ant-table .ant-table-container .ant-table-body .ant-table-sticky-scroll-bar::before {
  /* no-op: keep defaults */
}

/* Ensure fixed-left cells don't clip inner shadows/tooltip */
.ant-table-cell-fix-left,
.ant-table-cell-fix-right {
  overflow: visible;
}

/* Add subtle right-edge shadow for last fixed-left column */
.ant-table-cell-fix-left-last::after {
  content: '';
  position: absolute;
  top: 0;
  right: -8px;
  width: 8px;
  height: 100%;
  pointer-events: none;
  box-shadow: 4px 0 6px -4px rgba(0,0,0,0.15);
}

/* Add subtle left-edge shadow for first fixed-right column */
.ant-table-cell-fix-right-first::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 100%;
  pointer-events: none;
  box-shadow: -4px 0 6px -4px rgba(0,0,0,0.15);
}
